Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CellMatrix<T> Class / GetNonEmptyItems Method
An integer value indicates the first row.
An integer value indicates the first column.
An integer value indicates the last row.
An integer value indicates the last column.


In This Topic
    GetNonEmptyItems Method (CellMatrix<T>)
    In This Topic
    Copies a range of cells as a flatten array.
    Syntax
    'Declaration
     
    
    Public Function GetNonEmptyItems( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByRef locations() As CellReference _
    ) As T()
    'Usage
     
    
    Dim instance As CellMatrix(Of T)
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim locations() As CellReference
    Dim value() As T
     
    value = instance.GetNonEmptyItems(row, column, row2, column2, locations)
    public T[] GetNonEmptyItems( 
       int row,
       int column,
       int row2,
       int column2,
       out CellReference[] locations
    )

    Parameters

    row
    An integer value indicates the first row.
    column
    An integer value indicates the first column.
    row2
    An integer value indicates the last row.
    column2
    An integer value indicates the last column.
    locations
    See Also